﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="LineOfBusinessDataSet2" targetNamespace="http://tempuri.org/LineOfBusinessDataSet2.xsd" xmlns:mstns="http://tempuri.org/LineOfBusinessDataSet2.xsd" xmlns="http://tempuri.org/LineOfBusinessDataSet2.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="LineOfBusinessConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="LineOfBusinessConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.LineOfBusiness.AR.Properties.Settings.GlobalReference.Default.LineOfBusinessConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AD_tblSetupCompanyTableAdapter" GeneratorDataComponentClassName="AD_tblSetupCompanyTableAdapter" Name="AD_tblSetupCompany" UserDataComponentName="AD_tblSetupCompanyTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="LineOfBusinessConnectionString (Settings)" DbObjectName="LineOfBusiness.dbo.AD_tblSetupCompany" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[AD_tblSetupCompany] ([CompanyName], [Address], [Representer], [Phone], [FaxNo], [Mobile], [Email], [WebPage], [LogoFile], [FormatQ], [FormatB], [FormatU]) VALUES (@CompanyName, @Address, @Representer, @Phone, @FaxNo, @Mobile, @Email, @WebPage, @LogoFile, @FormatQ, @FormatB, @FormatU)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@CompanyName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="CompanyName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Address" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Address" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Representer" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Representer" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Phone" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Phone" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@FaxNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FaxNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Mobile" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Mobile" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Email" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Email" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@WebPage" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="WebPage" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@LogoFile" Precision="0" ProviderType="Image" Scale="0" Size="0" SourceColumn="LogoFile" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@FormatQ" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FormatQ" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@FormatB" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FormatB" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@FormatU" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FormatU" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CompanyName, Address, Representer, Phone, FaxNo, Mobile, Email, WebPage, LogoFile, FormatQ, FormatB, FormatU FROM dbo.AD_tblSetupCompany</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CompanyName" DataSetColumn="CompanyName" />
              <Mapping SourceColumn="Address" DataSetColumn="Address" />
              <Mapping SourceColumn="Representer" DataSetColumn="Representer" />
              <Mapping SourceColumn="Phone" DataSetColumn="Phone" />
              <Mapping SourceColumn="FaxNo" DataSetColumn="FaxNo" />
              <Mapping SourceColumn="Mobile" DataSetColumn="Mobile" />
              <Mapping SourceColumn="Email" DataSetColumn="Email" />
              <Mapping SourceColumn="WebPage" DataSetColumn="WebPage" />
              <Mapping SourceColumn="LogoFile" DataSetColumn="LogoFile" />
              <Mapping SourceColumn="FormatQ" DataSetColumn="FormatQ" />
              <Mapping SourceColumn="FormatB" DataSetColumn="FormatB" />
              <Mapping SourceColumn="FormatU" DataSetColumn="FormatU" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="LineOfBusinessDataSet2" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="LineOfBusinessDataSet2" msprop:Generator_UserDSName="LineOfBusinessDataSet2">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="AD_tblSetupCompany" msprop:Generator_TableClassName="AD_tblSetupCompanyDataTable" msprop:Generator_TableVarName="tableAD_tblSetupCompany" msprop:Generator_TablePropName="AD_tblSetupCompany" msprop:Generator_RowDeletingName="AD_tblSetupCompanyRowDeleting" msprop:Generator_RowChangingName="AD_tblSetupCompanyRowChanging" msprop:Generator_RowEvHandlerName="AD_tblSetupCompanyRowChangeEventHandler" msprop:Generator_RowDeletedName="AD_tblSetupCompanyRowDeleted" msprop:Generator_UserTableName="AD_tblSetupCompany" msprop:Generator_RowChangedName="AD_tblSetupCompanyRowChanged" msprop:Generator_RowEvArgName="AD_tblSetupCompanyRowChangeEvent" msprop:Generator_RowClassName="AD_tblSetupCompanyRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CompanyName" msprop:Generator_ColumnVarNameInTable="columnCompanyName" msprop:Generator_ColumnPropNameInRow="CompanyName" msprop:Generator_ColumnPropNameInTable="CompanyNameColumn" msprop:Generator_UserColumnName="CompanyName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Address" msprop:Generator_ColumnVarNameInTable="columnAddress" msprop:Generator_ColumnPropNameInRow="Address" msprop:Generator_ColumnPropNameInTable="AddressColumn" msprop:Generator_UserColumnName="Address" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Representer" msprop:Generator_ColumnVarNameInTable="columnRepresenter" msprop:Generator_ColumnPropNameInRow="Representer" msprop:Generator_ColumnPropNameInTable="RepresenterColumn" msprop:Generator_UserColumnName="Representer" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Phone" msprop:Generator_ColumnVarNameInTable="columnPhone" msprop:Generator_ColumnPropNameInRow="Phone" msprop:Generator_ColumnPropNameInTable="PhoneColumn" msprop:Generator_UserColumnName="Phone" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="FaxNo" msprop:Generator_ColumnVarNameInTable="columnFaxNo" msprop:Generator_ColumnPropNameInRow="FaxNo" msprop:Generator_ColumnPropNameInTable="FaxNoColumn" msprop:Generator_UserColumnName="FaxNo" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Mobile" msprop:Generator_ColumnVarNameInTable="columnMobile" msprop:Generator_ColumnPropNameInRow="Mobile" msprop:Generator_ColumnPropNameInTable="MobileColumn" msprop:Generator_UserColumnName="Mobile" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Email" msprop:Generator_ColumnVarNameInTable="columnEmail" msprop:Generator_ColumnPropNameInRow="Email" msprop:Generator_ColumnPropNameInTable="EmailColumn" msprop:Generator_UserColumnName="Email" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="WebPage" msprop:Generator_ColumnVarNameInTable="columnWebPage" msprop:Generator_ColumnPropNameInRow="WebPage" msprop:Generator_ColumnPropNameInTable="WebPageColumn" msprop:Generator_UserColumnName="WebPage" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="LogoFile" msprop:Generator_ColumnVarNameInTable="columnLogoFile" msprop:Generator_ColumnPropNameInRow="LogoFile" msprop:Generator_ColumnPropNameInTable="LogoFileColumn" msprop:Generator_UserColumnName="LogoFile" type="xs:base64Binary" minOccurs="0" />
              <xs:element name="FormatQ" msprop:Generator_ColumnVarNameInTable="columnFormatQ" msprop:Generator_ColumnPropNameInRow="FormatQ" msprop:Generator_ColumnPropNameInTable="FormatQColumn" msprop:Generator_UserColumnName="FormatQ" type="xs:int" minOccurs="0" />
              <xs:element name="FormatB" msprop:Generator_ColumnVarNameInTable="columnFormatB" msprop:Generator_ColumnPropNameInRow="FormatB" msprop:Generator_ColumnPropNameInTable="FormatBColumn" msprop:Generator_UserColumnName="FormatB" type="xs:int" minOccurs="0" />
              <xs:element name="FormatU" msprop:Generator_ColumnVarNameInTable="columnFormatU" msprop:Generator_ColumnPropNameInRow="FormatU" msprop:Generator_ColumnPropNameInTable="FormatUColumn" msprop:Generator_UserColumnName="FormatU" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>